<?php

namespace app\common\validate\xiluedu;

use think\Validate;

class Ticket extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'user_id' => ['require'],
        'company_name|单位名称' => ['require','length:1,255'],
        'tax_registration_number|纳税人识别号' => ['require','length:1,50'],
        'register_address|注册地址' => ['require','length:1,255'],
        'register_mobile|注册电话' => ['require','length:1,30'],
        'open_bank|开户银行' => ['require','length:1,255'],
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];
    
}
